<%--
  Created by IntelliJ IDEA.
  User: hys
  Date: 2020/8/29
  Time: 14:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<a href="${pageContext.request.contextPath}/download/1.png">图片1</a>
<br>
<a href="${pageContext.request.contextPath}/download/2.png">图片2</a>

<hr>

<form action="${pageContext.request.contextPath}/uploadFile" method="post" enctype="multipart/form-data">
    文件上传:<input type="file" name="file"> <br>
    <input type="submit" value="上传">
</form>

</body>
</html>
